package net.zjitc.service.Impl;

import net.zjitc.mapper.AdminMapper;
import net.zjitc.pojo.Admin;
import net.zjitc.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
//@Transactional
public class AdminServiceImpl implements AdminService {
    @Autowired

    private AdminMapper adminMapper;
    @Override
    public Admin findAdmin(String username){

        return adminMapper.findAdmin(username);
    }
}
